Added if/endif @ NetworkUtility.m

Automatic switching of header files for hardware device and simulator