Debugging sockets