Added real IP check.