mainly proxyfactory stuff
Merge pull request #879 from vietj/master

ReadStream and WriteStream are not concrete interfaces