Send compare file hash

Added TCPv4 where also a md5 hash is created before transfer, then on the receiving end. 
When a file is received we again calculate the md5 hash and compare. This ensure that the file received is correct.