prepare for public availability
read hostname from environemnt variable
changes due to update of go-restful
rename environment variable
for configuration, no local port required
Get API base path from environemnt variable

And while we are at it, rename a function to better reflect what it is doing
an API base path may be empty
test why a channel doesn't get called
enable XHR CORS OPTIONS
remove debugging code
Execute the http server in its own go-routine

so can do more in parallel