Skipping cookie retrieval for non http requests

Cookie retrieval should be done for http requests only