fixed file transfers for multiple friends

file transfer ids are per friend, not global
added resuming file transfers

-only works with disconnects (and not client restarts)