wtf why is socket undefined
0.1.3