Outsource user and variable files to config.hh
Add missing includes, remove obsolete includes
Make file paths match namespaces
Hide private symbols in libraries
Fix EOF error on clean disconnect
Refactor disconnection
Add connection timeout
Fix double disconnect