exporting helper functions for use in custom transports

I'd like access to these helper functions in my custom transport.