protected function prepareRequestUrl()
{
$protocol = $this->node->useTls() ? 'https' : 'http';
$url = sprintf('%s://%s%s?%s', $protocol, $this->node->getUri(), $this->path, $this->query);
// set the built request URL on the connection
$this->options[CURLOPT_URL] = $url;
return $this;
}