added a socket setup utility
Merge pull request #1 from kevinchabreck/initial_branch

added a socket setup utility