Added definition of htonl, htons, ntohs and ntohl