Protocol issues fixed, thanks to Stack Overflow