Fix for bug 10233 about Socket.BeginSendFile