protected function getTarget($uri = null)
    {
        if ( ! isset($uri)) {
            $uri = $this->uri;
        }

        $target = substr($uri, strpos($uri, '://') + 3);

        return $target === false ? '' : $target;
    }