Initial port to internal-http

Still needs timeouts and probably some work on the passthrough (for the
latter: specifically it should strip any content-length).
Keep up with internal-http changes