Support connecting through an HTTP proxy

Apply to httparty based methods in the Jenkins API gem as well.