NatClient: fixed errors, removed not used code