Fixed get_hostname handler.

Hostname and version impl in client.
Added loading state to uploader.
Extended impl of eventbus onOpen and onClose events.