Fixed issue with proxy support.