http works, working on https
introduced NetLoc class