SocketListener: formatting