GUI: handle 404 case in JsonClient

- Tomcat returns 404 HTTP status code while redeploying webapp.
- We expect, that JsonClient always call valid URL (RPC), so
  exception text inform about server being restarted.