config: optionally allow custom servers

Allows users to optionally define their own custom server in their configuration.

```js
// config/local.js
module.exports = {
  server: require("http").createServer()
};
```

Closes #737.