decouples socket init
decouples socket init
Merge pull request #2 from scottjason/init-client-socket

decouples socket init on client