protected function send($uri)
{
if (count($this->header) > 0) {
$this->setOption('header', $this->header->build(Header::BUILD_FIELDS));
}
set_error_handler([$this, 'errorHandler']);
$content = file_get_contents($uri->build(), false, $this->context);
restore_error_handler();
$response = new Response();
$response->header->parse($http_response_header);
$response->body = $content;
return $response;
}