Add a unit test for #27
Fix for #26
Fix reconnect logic
Add support for request time out
Add a test for request timeout, and improve Function handling for timeout
Fix for #16
Consolidate event type between function and decoder
Cosmetic, try to fix Jenkins failure
Cosmetic, try to fix Jenkins failure