Add MAX_MESSAGE_SIZE macro