Fix https prepending