TS-1683: channel_stats doesn't compile under fBSD

we fix it by including the header <inet/in.h> which is where sockaddr_in
is defined on FreeBSD. We only included it, #if the header exists.
TS-1693: Authproxy doesn't compile on FreeBSD

If we move out of the std:: namespace, everything seems to work just fine.
Question is whether this will also work on non-bsd, the buildbots
will know!