update CreateContext extension methods to pass in the IConnection
Add unit and integration tests and CreatePublicKeyContext() helper method