Addressed PR Comments. Updated Encodings class. Added tests for DelegatingStream.

TODO: Functional Test.