Add https support via a secure option