adamvr/MQTT.js — pull request #224 by RangerMauve (2014-09-13 14:55:04+00:00)
Title: Added connection.destroy() on incoming connections

Calling connection.end() does not close the underlying socket instance as seen [here](https://github.com/mcollina/mows/issues/16), this makes it possible to destroy incoming connections by the server.

The reason for defining this within the server rather than the client, is that the client might receive different types of sockets and only the server-specific implementation would know how to close it.