Removed unnecessary strdup
Moved connection_error_handler to _presence_error_handler
Fixed comment
Added fallback message error handlers