fixed support for fetching styles from https server