use shutdown() to effect controlled stop of netsock_server
as libten uses fcntl, its third parameter is int, not long
formatting consistency with rest of class
provide convenience form of socket_fd::getsockopt, now matching setsockopt