Removed unused connection object from server and client classes.