title: Simple REST HTTP-Proxy for xmpp
body: <p>We're currently working on a xmpp server which used by an Android App and we want to use xmpp-ftw and node.js to contact the Web Server through HTTP Request.</p>
  
  <p>Now our question: How to handle specific requests to react on the request?</p>
  
  <p><a href="https://github.com/xmpp-ftw/xmpp-ftw" rel="nofollow">https://github.com/xmpp-ftw/xmpp-ftw</a></p>
  
  <p>e.g. </p>
  
  <p>127.0.0.1:3000/login</p>
  
  <p><code>{
      "jid": "test@evilprofessor.co.uk",
      "password": "password",
      "resource": "xmpp-ftw",
      "host": "127.0.0.1"
  }</code></p>
  
  <p>to login to the server. It should be a simple wrapper.</p>
  
  <p>Thank you</p>