def logout
      raise SocketError, "Socket must be opened before logging out" if !@socket or @socket.closed?
      
      xml = new_epp_request
      
      xml.root << command = Node.new("command")
      
      command << login = Node.new("logout")
      command << Node.new("clTRID", UUIDTools::UUID.timestamp_create.to_s)
      
      response = Hpricot::XML(send_request(xml.to_s))
      
      handle_response(response, 1500)
    end
def logout
      raise SocketError, "Socket must be opened before logging out" if !@socket or @socket.closed?
      
      xml = new_epp_request
      
      xml.root << command = Node.new("command")
      
      command << login = Node.new("logout")
      command << Node.new("clTRID", UUIDTools::UUID.timestamp_create.to_s)
      
      response = Hpricot::XML(send_request(xml.to_s))
      
      handle_response(response, 1500)
    end
Sends a standard logout request to the EPP server.