moved all sends() into the select loop
sometimes am receiving a bad file descriptor to send, or a broken pipe, so I'm not exiting on that condition right now, since we seem to be able to download the file later anyway?