SSLSocketTest: test close alert during handshake

If a client/server gets a close alert during a handshake, it should give
a sane error message instead of something that is confusing to the developer.

(cherry picked from commit 58d0df7981667d3add1b94c57eb9d7e1b29dc2b1)

Bug: 18758595
Change-Id: I5d8d7dcb74fed4ff0ab943b5dc666819ec076e31
1 file changed