initial socket support
Merge pull request #28 from ousado/genpy

initial socket support