Properly clean-up bidi streams in pi_server
Properly clean-up bidi streams in pi_server

I refactored the packet IO code in pi_server. I believe the new code is
more intuitive and it does not leak resources.

p4lang/PI,p4lang/PI,p4lang/PI,p4lang/PI