pyterm: enable interoperability with native TCP uart