removed dependency on pecl_http