Fix a test that wasn't running.
Add HTTP responses on handshake errors.