}
if (secure != null) {
c.secure(secure);
}
c.send(new SimpleHttpClientHandler() {
@Override
public void handle(int status, String reason, InMemoryPost body) {
JsonObject r = new JsonObject();
r.add("status", new JsonPrimitive(status));
r.add("reason", new JsonPrimitive(reason));