winpr: extend stream api