get_ip_address fixed. Unit tests for get_file/put_file.
Simplefied host.get and host.put.