Don't check cert validity for code coverage

Call to file_get_contents may fail for an HTTPS request to a server with
an invalid cert.  Fixes #1474

Cleaned up some formatting (some places were using 5 space tabs).

I couldn't test this as I'm not on PHP5.6, and it connects fine for me without a valid cert.  Fix is described here: http://php.net/manual/en/migration56.openssl.php