implemented pycurl availability check for http