Adapted to correct style: on_message
Added more and more functionality
Removed unused parameters
Messages can be received, implementation is still partially done
Testing with explicit server shutdown
Proper log message while starting up