Ability to override GetStream method via constructor

Alternative implementation of #3 per discussion there.

Allows use of SSL via constructor callback.