[Engine(-IRC)] Fixed missing synchronization when accessing Session.ProtocolManagers (closes: #877)