add ability to route read redis commands to masters if specified