Handle disconnect notices, log unknown messages

I've been getting quite a few disconnect notices while running in a backend on app-engine. Poor handling of these disconnect notices has lead to rate limiting and 420 (enhance your cool) messages. This change is now in testing to see if it works better. I'd appreciate comments on whether you ( @joshthecoder ) like this approach.