Merge pull request #1142 from bcwaldon/TLS

TLS: peer server/transport and proxy transport
transport: fake out certificate parser

The work being done in the tests is completely wasted, as we do not
need to test the udnerlying x509 library. Faking out the parser function
allows the tests to run much faster without having to carry massive
fixtures, either.