Added filter for http and https