Skip call NS_SEND if send return -1
 - Add #define SOCKET_ERROR and use in push_to_stdin
 - Add ns_connection.last_errno for NS_CLOSE (store errno/WSAGetLastError)