#473 auto connection improvements

* host and port fields are populated from the http request
* auto connect by default
* Use $(document).ready instead of onload
* delay loading of Protocol object until do_start to avoid race
condition when auto connect calls do_start before the request to load
the appropriate Protocol script is not yet complete