set user supplied proxy address

Fix always setting proxy address to `127.0.0.1` no matter what the user has specified.