Fix some comments about JWS
Replace spaces in URLs with %20 in HttpUtils.openConnectionStream

Motivation was GenomeSpace, but any URL passed to CommandExecutor with spaces in it would have failed to load
Use HttpCookie.parse, instead of trying to parse cookies manually

Manual parsing didn't work properly when the token contained an '='