some attempt to reverse engineer Emmoco's wire protocol