fixed #4 by implementing ping/pong from ws lib (max_pings_missed, ping_t...

...imeout options added