Key length is now specifiable

Key length can now be specified; the encoding of the value can be
specified; stream is now readable
Merge pull request #5 from mjohnsullivan/master

Key length can now be specified