- handle polling message from flash client
 - write unit test for conversion of messages
 - fix unit test