pyterm: enable TCP connection to remote host
pyterm: make mostly pep8 compliant
Merge pull request #1950 from OlegHahm/pyterm_tcp_remote

pyterm: enable TCP connection to remote host