updated emon simple client sketch