change all mocking to include http and https