protected function resolveHost($host)
    {
        if (strpos($host, '://') !== false) {
            list($schema, $host) = explode('://', $host, 2);
        }

        if ($this->schema) {
            $schema = $this->schema;
        }

        if (empty($schema)) {
            $schema = 'http';
        }

        return array($schema, $host);
    }