Use proper sizeof when consuming integers (so far I've only been testing where sizeof(int) == 4, but futureproofing is always a good idea)
Add LMDataWithSizeIsValidMessage command to properly validate incoming queries