Optimized closed socket handling in LocalSocket
Tagged version 0.5.11