targetServerA.add(coap2http);
targetServerA.add(new TargetResource("target"));
targetServerA.start();
ProxyHttpServer httpServer = new ProxyHttpServer(8080);
httpServer.setProxyCoapResolver(new DirectProxyCoAPResolver(coap2coap));
System.out.println("CoAP resource \"target\" available over HTTP at: http://localhost:8080/proxy/coap://localhost:PORT/target");
}