Dynamic checking for https/http