Add proxy server support to WS