use https or http module depending on URL