add socket
Merge pull request #7 from weekwood/master

add socket