updated core file to check for valid url and host
glsdk_core.cpp and glsdk_data_sync.cpp now compile with the iOS and i386 targets