Fixed crash when configuring SocksProxy.