Fixed various things in server and client - Minimal packet loss on large files now!