I dispatch [self maybeDequeueWrite] asynchronously to socketQueue to break the recursive calls.
Fixed issue #102 - stack overflow in doWriteData->maybeDequeueWrite->…
Bug fix for issue #102 - Stack overflow while writing data. Also addr…
…esses issue #115 & issue #216. Thanks to teerapap for the patch. (it's being used with the addition of an autoreleasepool)
Thank you for the patch! Sorry it took so long to get this merged.