def register(definition, options = {})
      url = options[:path] || ['/v1/agent/service/register']
      register = send_put_request(@conn, url, options, definition)
      register.status == 200
    end
def register(definition, options = {})
      url = options[:path] || ['/v1/agent/service/register']
      register = send_put_request(@conn, url, options, definition)
      register.status == 200
    end
Register a service
 @param definition [Hash] Hash containing definition of service
 @param options [Hash] options parameter hash
 @return [Boolean]