fixed user-agent problem, startup failure if version check was unccessful

It's "User-Agent", not "User Agent" :)