Fix build with Android cross-compiler

HsNet.h needs to be included *before* #ifdef IPV6_SOCKET_SUPPORT.
Define SOCK_NONBLOCK if it is missing

SOCK_NONBLOCK is not defined by Bionic libc in Android.