modify reconnect sleep
use default value if ping_interval/ping_timeout not exists  #9
detect disconnection by last_pong_at and ping_timeout  #9