Fixing for plain old ssl