Plasma boundary layer in the presence of fast primary electrons