def handle(signature, callback = nil, &bl)
    if signature.is_a?(Array)
      signature.each { |s| handle(s, callback, &bl) }
      return self
    end
    @handlers[signature] = callback unless callback.nil?
    @handlers[signature] = bl       unless bl.nil?
    self
  end
def handle(signature, callback = nil, &bl)
    if signature.is_a?(Array)
      signature.each { |s| handle(s, callback, &bl) }
      return self
    end
    @handlers[signature] = callback unless callback.nil?
    @handlers[signature] = bl       unless bl.nil?
    self
  end
Register json-rpc handler with dispatcher

 @param [String,Regex] signature request signature to match
 @param [Callable] callback callable object which to bind to signature
 @param [Callable] bl block parameter will be set to callback if specified
 @return self