Added idle handling.

The yahoo servers disconnects the long lived connection by sending back
200 OK indicating idle.

Fixed app file.