pkyeck/socket.IO-objc — pull request #197 by francoisTemasys (2014-07-01 02:20:28+00:00)
Title: Support for socket.io 1.0.x

This modification let the socket.io client connect with the 1.0.x version of socket.io and send and receive messages.
Some functionalities are still missing:
* Acknowledgement
* Binary event

It has been with the following setup:
```
[socket sendMessage:@"Hello world"];
[socket sendMessage:@"{\"type\" : \"message sendWithout backslash\"}"];
[socket sendMessage:@"{\\\"type\\\" : \\\"message sendWith backslash\\\"}"];
[socket sendEvent:@"event" withData:@"{\"type\" : \"message sendWithout backslash\"}"];
[socket sendEvent:@"event" withData:@"{\\\"type\\\" : \\\"message sendWith backslash\\\"}"];

NSMutableDictionary *dict = [NSMutableDictionary dictionary];
[dict setObject:@"test1" forKey:@"key1"];
[dict setObject:@"test2" forKey:@"key2"];

[socket sendJSON:dict];
[socket sendEvent:@"event" withData:dict];
```