replace module from http to request

replace module from http/https to request, to accept system env PROXY or set proxy by request's parameter