pub(crate) fn encode_request(req: &Request<String>) -> String
Encode an HTTP request in a quick and dirty HTTP 1.0 format.