proxy: extract glue function
transcoding: preliminary work

  /transcode/chan will register a fake http client
  and link it to a new "transcoding" channel.

  this is a preliminary building block, right now data
  flows through untouched, and only one single client on
  a transcode channel is currently supported.