Use $transport::test() for checking SSL in tests

See #101. Turns out fsockopen was overriding this, but we have contextual
checking support now, so let's use that.