Move HSNet import to top of file; it was below '#if defined(IPV6_SOCKET_SUPPORT)' which requires it.
Merge pull request #105 from lukexi/master

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