Make ngx_message_handler work with new message_handler api.