Added http proxy support.