CS-5033: Adds systempreference for protocol in Smarty generated urls