ENSURE_SINGLE_ARG(url, NSString);
http://developer.appcelerator.com/question/150953/connection-lost-in-websockets#comment-173956