Fixed last instances of hardcoded protocols (http vs https), to be replaced with configuration-dependant