move xff_handler to "geolocate"
fix int signing
signed -> unsigned