Parsed documentation:
View on GitHub
This function handles 3 possible cases:

* start - Normal start after successful websocket_init
* start_error - Improper start returning useful error code after unsuccessful websocket_init
* msg broadcast - Any message generate by events that gets to the connection
Please help! Open an issue on GitHub if this assessment is incorrect.