fixed byte order in network stack

The following fields were in wrong byte order (detected with wireshark):
 * IEEE 802.15.4 FCF and Destination PAN Identifier
 * IPv6 length field
 * UDP length field