Better exception re-raising from RPC calls
Automatically publish version if not up-to-date. Fix #1