Added a class to represent each connection from a client.