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.
Merge pull request #1144 from bcwaldon/TLS

Simplify TLS testing in transport pkg