added support for global HTTP proxy configuration