Fixing issues with proxy server