BUG: fix setup_proxy_info to handle empty string.