It's not strictly necessary to validate the server cert in this test, but this is fine.