Return io.ErrUnexpectedEOF instead of io.EOF.

When we receive EOF during handshake, for example, if authentication
failed, Handshake returned io.EOF error. Instead, it should return
io.ErrUnexpectedEOF.