pip: add ability to exchange pip with principal (refs #7)