       "#{name}#{url}"
 
   class ServerClient
-    constructor:->
-      @lock = new Lock
+    constructor:(options)->
+      @lock = new Lock {accept_logs:options.accept_logs}
+      @initialize.apply this, arguments
+
+    initialize:->
+      #for overwrite
 
     _isServer:-> true
 

      options.stub = null
      $.ajax(options)
        .done (data)->
          unless data.result is "error"
            async.resolve data
          else
            async.reject data
        .fail (err)->
          async.reject err
        .always =>

      options or options = {}
      options.type = "POST"
      @ajax options

    put:(options)->
      options or options = {}
      options.type = "PUT"
      @ajax options
