Do not define bswap32 on FreebSD (and OpenBSD I guess). Then, netinet/tcp.h
requires sys/types.h
Merge pull request #266 from gahr/freebsd-fixes

FreeBSD-specific fixes