Updated ClientConnection

added the getSocket Method.