Stubbing out an HTTP listener