Make the SSL handling a little less brutal