-fixed url sniffing redirects
-added ssl to various apis