I put together a patch to add binary protocol support to the C version

Here's the patch; hope it helps.  Forgive the fumbling; haven't contributed much to github based projects.

Cheers,

Jeremy White