sockets should always be closed to free resources
fixes: On static platforms, null can't be used as basic type hxnn._NanoSocket.Socket
Int errors are not informative; use string versions
add missing poll signature to header file
nn_term wrapper
ensure alphabetical order for methods