Properly implemented new socket system

SUCK IT MITCHELL