Return a bool from async write handlers

This allows performing another write with the same buffer, length and
callback, which is useful for asynchronously writing in chunks.