Client and middleware for Yasso