The actual handlers for the server side of the connection, including the start of the rich handler and the code to select it