remove unused deprecated functions of the old protocol
avoid QByteArray to QString to QByteArray conversion