Comparing Designs of S-HTTP and SSL