Add clearTimeout on ServerPush request.

Bind onReadyStateChange before calling request.open().
Add error handling for aborted ServerPush requests that are not in readyState = 4.
Check if console is available before logging.