msg.setContent(MessageExchange.class, exchange);
msg.setContent(NormalizedMessage.class, inMsg);
msg.setContent(OutputStream.class, baos);
exchange.setProperty(Message.class.getName(), msg);
InterceptorChain phaseOut = getChain(Phase.ClientOut);
phaseOut.doIntercept(msg);
httpExchange.setMethod(HttpMethods.POST);
httpExchange.setURL(baseUrl);
httpExchange.setRequestContent(new ByteArrayBuffer(baos.toByteArray()));
for (String header : msg.getTransportHeaders().keySet()) {