catch ::1 as localhost for remote_addr