Simple FreeBSD Support

Added required header for FreeBSD socket. 

Compile OK now.