Merge pull request #294 from john-hill/develop

fixed bonehead missing flush on stream
Revert changes done for PLFM-803
Merge pull request #295 from eric-wu/develop

Revert changes done for PLFM-803