Don't try to log socket info if no socket was provided.
Make a server accept and process multiple client connections.