Simple file transfer version works
Added simulation of packet loss and corruption at client