The plasma boundary layer of HID-cathodes: modelling and numerical results