Adding TCP optimizations for connections.
Merge pull request #4 from hekaldama/master

Adding TCP optimizations for connections.