Moved back to old socket api
Merge pull request #1 from grahamkennery/master

Moved back to old socket api