enable https cdn url config

1. `.parse` is deprecated, using `.parseWithConfig`
2. passing in https bool