public function createHttpMessage($method, $uri, $headers, $body) { return (new HttpRequest($method, $uri, $headers, $body))->encode(); }