Move duplicated code to separate class

BaseNetworking now holds a class that is subclassed by the
ClientConnection classes in Networking and Py3Networking.
Add SSL to connection
Change location of keys and certs