SWITCHYARD-2348 HttpGatewayServlet causes ClassCastException because it can process only headers of type List<String>