Make net/ directory corresponding to namespace net
gitignore: dont ignore net/
net: common: move classes and functions
resolver_op: remove unneeded including of a header
Merge branch 'make_net_src_dir'

 Move source files related to network into net/ directory.
And also move decls and definitions of functions and classes into
net/common.{cpp,hpp}