Switch to using libproton.

This removes all the proton interface stuff from this repo, relying
on the library instead. I'm not removing the cli tests as these are
still valid (since we still need to provide the executable script).