Add initial networking stuff.
Merge pull request #4 from xales/master

Add initial networking stuff.