Heartbleed: When no encryption is better than bad encryption