Make proxy server work with latest node version