add proxy and auth option to request