Move HSNet import to top of file (fixes compilation error)

It was below '#if defined(IPV6_SOCKET_SUPPORT)', which requires it.