add a simple script to get state
add get/set states
 - currently for test purposes get/set commands are passed as the head
   of url path like (GET or SET)
 - this interface is bad, since url path is limited for 'set', but it is
   easy to do a simple test for a connection that doesn't have queued
   data in flight.