bug fix: client connection could not receive the message sent by the server right after handshake response

Because the on_read() callback was executed before registering any each_message/next_message callbacks,
the message sent by the server right after handshake response was discarded.

Now that it delays setting on_read() callback by AnyEvent->idle, each_message/next_message callbacks can receive the messages.