Fix http -> https for embedded post