Add protocol parser stub, add test for it