Adding handling for non-ssl requests when coming from iPhone app