Seems like a simple solution is just to write HTTP requests over a single TLS connection and queue the requests and responses in order. Can't handle redirects or reconnections, but works for my purposes:
https://gist.github.com/donovanhide/13c4444903416e166ac51c9496d225e9 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.