Add server debug environment variable
Improve failed login error reporting
Pass mode and other messages that are not stored in events
Fix no user list after joining a channel on certain networks
Merge pull request #184 from rodms10/server-fixes

Server fixes