add http request
add http globalAgent maxSockets
update encoding and one function in server.js