Fix GCDAsyncSocketPreBuffer availableSpace bugs that lead to access violation.
Fix GCDAsyncSocketPreBuffer availableSpace bugs that lead to access violation.

It's easy to see the bug by putting the read pointer slightly behind the
write pointer both near the end of the buffer.

livio/SuperSocket