Moves all network related code to a seperate library. libdmp-common was getting a mess.

Also cleaned up the network code a bit with regard to boost::asio
includes and namespaces.