Added withClient, withServer. Depend on (pipes-safe >=1.0)