closed #4: implemented automatic reconnect
replaced deprecated console.debug with console.log
Merge pull request #32 from NoyaInRain/reconnect

closed #4: implemented automatic reconnect