Add abstract_protocol_handler, message_stream