fixed asset ssl rewrites
moved constant settings to plugins_loaded to allow overrides via filters