set a proxy for url using stream