Ruby Examples Updates

- Allow host and port to be specified in the environment, facilitates multi-server use
- Change persistent examples per current documentation
- Receives quit on last message

Thanks, Guy