title: Get POST data and return with res.end() - encoding issue
body: <p>I'm sending POST data from Python program to Node.JS-server and return with res.end. Here's the python code:</p>
  
  <pre><code>#! /usr/bin/env python
  # -*- coding: utf-8 -*- 
  import requests
  value = u"Этот текст в кодировке Unicode"
  url = "http://localhost:3000/?source=test"
  headers = {'content-type': 'text/plain; charset=utf-8'}
  r = requests.post(url, data=value.encode("utf-8"))
  print r.text
  </code></pre>
  
  <p>And here's how I process data in Node.JS:</p>
  
  <pre><code>http.createServer(function(req, res) {
      req.setEncoding = "utf8"
      var queryData = '';
      if (req.method == 'POST') {
          req.on('data', function(data) {
              queryData += data;
          });
          req.on('end', function() {
              res.writeHead(200, {
                  'Content-Type': 'text/plain'
              });
              res.end(queryData)
          });
  
      } else {
          // sending '405 - Method not allowed' if GET
          res.writeHead(405, {
              'Content-Type': 'text/plain'
          });
          res.end();
      }
  }).listen(3000, '127.0.0.1');
  </code></pre>
  
  <p>As result I get:</p>
  
  <pre><code>$ python test.py 
  Ð­ÑÐ¾Ñ ÑÐµÐºÑÑ Ð² ÐºÐ¾Ð´Ð¸ÑÐ¾Ð²ÐºÐµ Unicode
  </code></pre>
  
  <p>How should I set encoding properly to get "Этот текст в кодировке Unicode" as a result? Thanks.</p>