s3:rpc_server: make use of netsec_create_state()