make http & https work simultaneously