Download transfer class
added last msg time for heartbeat
fixed protocol fields
Upload Transfer class. no error handling yet