A PHP HTTP-client class