Byte-swap a 16-bit value to/from Network Byte Order.
On platforms where the native and network byte order are identical, this routine performs no conversion.