packetType should always be a number
Socket.unref() is not available in Node < 0.10