Don't crash on non-ssl connection