Added nn.socket() options table, including close_on_gc feature.
fix getsockopt (with nicer interface too) and fix setsockopt with boolean
examples:  epoll integration