Don't use uninitialized $!socket during debug
Merge pull request #2 from softmoth/fix-debug

Don't use uninitialized $!socket during debug