Swap parameter in std::string initialization.
Unify category in calls to purple_debug_info.
Replace printf by purple_debug_info.
Replace DEBUG_PRINT by purple_debug_info.
Make received data printed to debug info channel.
Make data to be sent printed to debug info channel.