Meta server: fix write lease expiration by maintaining a separate list for in-flight chunk allocations. Move write lease into lease expiration list once/if chunk allocation successfully completes, Reset lease expiration time before moving into the expiration list. Track down and fix bug with missing chunk server and chunk access in the append re-use allocation response by setting valid for time in the allocation request, and moving the valid for time greater than zero conditional in the allocation access response method after the access string not empty conditional, as valid for time is not required with non empty (cached) access string.
Kfsio library: fix dangling state with network connections that have [ssl] filters and the data pending inside the filter. Check and remember if the data is pending inside the filter, and if so add connection to pending read list. Traverse the pending read list in the net manager event dispatch loop. This should make handling pending data inside filter by virtually identical to handling read event on file descriptor: disabling read with data pending inside [ssl] filter, then re-enabling it, should now generate connection read event, with no corresponding read event.