Charset support for transports (fixes #9)