feat(server): Halt handling of disconnected clients

Use net/http's CloseNotifier to detect when a connection has been closed in a
new middleware to proactively halt server-side processing for disconnected
clients.