Move functionality into class pstreambase. Added pstream for bidirectional IO.
Move functionality into class pstreambase.
Added pstream for bidirectional IO.

zmij/tip-http,zmij/pg_async,zmij/tip-http,zmij/tip-http,zmij/tip-http