Get sockets to actually work #javascriptsucks