TYRUS-321: [Client] Handshake Response code was not correctly propagated...

... to HandshakeException

+ minor refactoring