Bumped figgus to 0.2.3
Added heartbeat and set-state and heartbeat thread for client