Fix type error and use pong for timeout.

There was a typo where `this.connection.localPort.**impl**` was used instead of  `this.connection.**impl**.localPort` that was causing a crash when trying to connect.

Even with that fix I was getting the client destroyed very quickly and ircanywhere was looping trying to reestablish it. This was happening because `_lasttime` was not being updated and the connection was timing out. I've added a regular PING and update `_lasttime` on PONG.

I also increased the timeout and interval time, they were pretty aggressive. Seem to be working OK now.