renamed validateCommandSignature to isCommandSignatureValid, added checks for unknown commands