Merge pull request #1 from brkakkaya/dev

Fixing: memstream crash
Merge branch 'master' of https://github.com/brkakkaya/DPI.IPC into dev