Added client and connection socket to mainframe