Fixzed a mixed content error when using https. fix #92