reset reconnectAttempts to zero when user calls open()
reset reconnectAttempts to zero when user calls open()

nguarracino/reconnecting-websocket,hw1e14/reconnecting-websocket,UIKit0/reconnecting-websocket,futurist/reconnecting-websocket,joewalnes/reconnecting-websocket,ekapujiw2002/reconnecting-websocket,mcanthony/reconnecting-websocket