add logging to watch open/close/recv/send on nn.Socket