Pull request for  issue #95

Completed abstract stream codec implementation