Swift middleware for Zerocloud