Added async PreLoginEvent to change online mode per connection.