Fixed bugs with client implementation and updated simple lobby example to use the new client library.