NSURLProtocol, NSURLConnection: fixes