How to add resume capability for upload using Winsock.dll ?