add HandleWriteRequest for MessageHandler