Allows for setting css to the system message
Adds session event before-close, so we can hook some behavior before bye message is sent