reader: add output buffering feature negotiation
Merge pull request #49 from mreiferson/ob_49

support output buffering feature negotiation