public StreamRequestHandler handleRequest(DataInputStream inputStream,
DataOutputStream outputStream) throws IOException {
VoldemortRequest.Builder request = ProtoUtils.readToBuilder(inputStream,
VoldemortRequest.newBuilder());
boolean shouldRoute = request.getShouldRoute();
RequestRoutingType type = RequestRoutingType.getRequestRoutingType(shouldRoute, false);
if(request.hasRequestRouteType()) {
type = RequestRoutingType.getRequestRoutingType(request.getRequestRouteType());
}