RAG Gateway: Secure Retrieval for AI Knowledge Bases