added TCP client and server in python
fixed int casting to satisfy old python needs
Merge pull request #1 from roberthorn/master

added TCP client and server in python