renaming socket_free to socket_destroy to match foundation
fixed port only path of resolve
adding file transfer tool base code