M2M stuff for M2Mentry servers