fixed bug in connection

Ignore-this: b9404da8437c5d47b63f2ef3c87b105b

It makes no sense to send a ping request back when we are already connected or connecting.

darcs-hash:20131204144036-c21fe-90560f8bfb7588d325b132b4952e68fe29b9af1b