Removed socket array and added build types to client