normalizePort function added, Utils.isCrossDomainUrl updated