remove needless 'var socket;' declaration

seems this variable is not actually used.
Merge pull request #10 from mattp-/patch-1

remove needless 'var socket;' declaration