refactor to handle delete messages
improve docs
use http.CloseNotifier to clean when clients disconnect