Use <arpa/inet.h> for htons()
Merge pull request #4 from saper/portability

Use <arpa/inet.h> for htons()