 
       Promise.reject
         name    : "KiteInvalid"
-        message : """Kite is invalid. This kite (#{name}) not exists
-                     or there is a problem with connection."""
+        message : "Kite is invalid. This kite (#{name}) not exists
+                   or there is a problem with connection."
         err     : @_invalid
 
 


    KD.utils.wait 1000, =>
      @transport?.connect()



  @constructors = {}

  connect: ->
    @transport?.connect()
    @_connectAttempted = yes

  disconnect: ->
    @isDisconnected = yes
    @transport?.disconnect()
