Modeling the onset of shear boundary layers in fibrous composite reinforcements by second-gradient theory