Make websocket more RFC friendly ( case insensitive)

I found a websocket server that responded
  Upgrade: WebSocket
and made FTW fail.

Make websocket more RFC friendly. 
RFC6455,Page 18:
The client MUST validate the server's response as follows:
(...)
2.  If the response lacks an |Upgrade| header field or the |Upgrade|
    header field contains a value that is not an ASCII case-
    insensitive match for the value "websocket", the client MUST
    _Fail the WebSocket Connection_.

3.  If the response lacks a |Connection| header field or the
    |Connection| header field doesn't contain a token that is an
    ASCII case-insensitive match for the value "Upgrade", the client
    MUST _Fail the WebSocket Connection_.