Implemented base proxy service with replay middleware