initial work has been done by @voidet in this PR:
https://github.com/aerogear/aerogear-ios-httpstub/pull/7