square/SocketRocket — pull request #9 by lukeredpath (2012-02-17 17:07:29+00:00)
Title: Fix broken handshake on iOS 4.0

On iOS 4, CFHTTPMessageCopyAllHeaderFields() seems to result in a slightly different handshake header
(Websocket instead of WebSocket), which results in the handshake failing. This fixes that.

I've also set the project tab/indent settings to match the code style so people with different global settings
(like me) conform to the code style.