Refactored presence_error_handler
Add level to log output
Changed log level to info for failed connection
Merge branch 'master' into plugins