test: extract client ip