Fix: Remove duplicate definition of mainloop_io_t from headers
Fix: cib: Prevent memory leak during connection setup
Log: Update debug message with more details
Test: Allow xmlNodeDump() to be easily re-enabled further debugging
Refactor: Core: Switch to a 'double' memory re-allocation stratgey for xml buffers