debugger should correctly report when it is ready to accept connections

Otherwise we have race between debugger and RubyMine and sometime RubyMine unable to start debugging session (see http://youtrack.jetbrains.com/issue/RUBY-14490)