tyrus-project/tyrus — pull request #79 by aslakhellesoy (2014-05-12 23:37:21+00:00)
Title: Preserve HTTP status when handshake fails.

Without this fix the reported status code is always 500, even
though the server might have responded with a different code,
e.g. 401.