require net/http in lib