Fixed TCP interface.
Merge pull request #8 from bwross/master

Fixed TCP interface.