private static function parseHeaders(UrlInterface $url): HeaderCollectionInterface
    {
        $result = new HeaderCollection();
        $result->set('Host', $url->getHostAndPort());

        return $result;
    }