setting proxy on the client rather than the connection