Added code from OHHTTPStubs talk