added non-inline version of net_ntohs