message-handler: separate html_parse_message_handler