ae.net.asockets: Fix dangling pointer to Data-owned memory

If index == inBuffer.length, inBuffer will be freed,
and line will be a dangling pointer.

The switch to reference counting for Data objects
revealed this latent bug.