'use strict'; module.exports = function (opts) { console.log("Could not connect"); var socket = opts.socket; var handler = opts.handler; var http = require('http'); var server = http.createServer(function (req, res) { console.log('responding to thing'); res.statusCode = 500; res.setHeader('Content-Type', 'text/html'); res.end("" + "