mod_rayo: decouple client from stream