Implemented receiving and sending MODE messages