Node.js HTML downloader with encoding and redirecting support