More fixes for realip.