Use proxy in options, else fallback to environment variables.