WIP: continued binary protocol conversion