mock internet response in browser with http&https proxy