used prefix message length for initial registration to make it more robust