added test socket stuff because THERES NO SOCKET IO DOCUMENTATION