-> importing Obj-C code, IP validation and Ping helper