Fix portability issues for FreeBSD.
Fix portability issues for FreeBSD.
Merge branch 'master' of https://github.com/nnathan/sniproxy