The swash zone as a boundary layer