Changes towards a mockito-style stubbed http service