what about setting  IP::toHex( $xff_ip )?