'attributes:
sesskey - session key
address - your address (ip:port) as seen by the server
data:'

def __init__(self, cmd, restag, rescode, resstr, datalines):

    Response.__init__(self, cmd, restag, rescode, resstr, datalines)
    self.codestr = u'LOGIN_ACCEPTED'
    self.codetail = ()
    self.coderep = ()
    nat = cmd.parameters[u'nat']
    nat = int((((nat is None) and nat) or u'0'))
    if nat:
        self.codehead = (u'sesskey', u'address')
    else:
        self.codehead = (u'sesskey',)
