First revision of client to network communication

Also, all warnigs from our side are gone.
Note: multiple files with same name and file
by md5 recognition is NOT yet supported.