add mb_get_ip which return failure if can't resolve address instead of get_ip which return 127.0.0.1 in error case