Add conditions to make sure we doesn't force SSL incorrectly