Got version of APKES protocol (still in progress) that compiles all the way through.