pyterm: enable TCP connection to remote host