Fixed minor portability issues to support FreeBSD.
Merge branch 'master' of github.com:nnathan/sniproxy

Conflicts:
	src/binder.c
	src/buffer.c
	src/connection.c