Update HttpClient.class.php

Added "return $result" to the methods get(), post(), put() and delete(), so the following example will work again:

$client = new HttpClient('example.com');
if (!$client->get('/')) {
    die('An error occurred: '.$client->getError());
}
$pageContents = $client->getContent();