add middleware to deal with citybike API

Middleware used in blog post https://docs.apitools.com/blog/2014/06/19/apitools-demo-at-apidays-swift-lua-bike-share-api.html