Fix stubbing of hostip requests