Hello World Node application with error handling I wrote this simple server in node. Actually my goal is to better understand exception handling best practices in Node.
So my question is more specific.
Is this code bullet proof to exceptions? Are all errors or exceptions propertly handled? 
How would you make it more safe? Where would you put try/catch?
Is there a place where try/catch is missing?

var http = require('http');

// Register handler for incoming requests.
var server = http.createServer(function(request, response) {

    var body = "";

    request.setEncoding("utf8");

    request.on('error', function(err) {
        console.error(err.stack);
    });

    // Listen for incoming data in the request.
    request.on('data', function(chunk) {
        body += chunk
    });

    // Has all data arrived?
    request.on('end', function() {

        // We should send response only when the whole request has been received, isn't it?
        response.writeHead(200, {
            'Content-Type': 'text/html',
            'X-Powered-By': 'bacon'
        });

        response.on('error', function(err) {
            console.error(err);
        });

        response.write('&lt;html&gt;');
        response.write('&lt;body&gt;');
        response.write('&lt;h1&gt;Hello, World!&lt;/h1&gt;');
        response.write('&lt;p&gt;');
        response.write(body);
        response.write('&lt;/p&gt;');
        response.write('&lt;/body&gt;');
        response.write('&lt;/html&gt;');
        response.end();


    });




});

// Listen on some port
server.listen(8085);
If you're going to continue using raw, low level, http then you've done good enough (although you should probably return a 500 response code back to the client). In reality though, you're unlikely to continue working with Node at such a low level. Most Node applications are going to use a framework like Express, which has the concept of Middleware. Typically, you'd use some middleware to handle runtime errors. 

RisingStack has a great tutorial for creating a simple Express server with middleware error handling.