fix duplicate message on ping regression

* cleaned up db.max_channels cruft
* added ping interval checks
** NOTE: need to check Socket.Close() doesn't seem to actually close the
    socket.
* increased recv buffer size for sniffer