Fixing 250b958: directly return callback for private IP

(this was a bug) and detect private IP addresses properly.