Completed zpipe implementation in zsocket.