Update http.py and add ConnectionRefusedError 

maybe the error "global name 'ConnectionRefusedError' is not defined" would be gone