Added support for slashed R-states, e.g. R1A02_3
Added exit on error (-e) to client.sh hashbang