Add better resizing

Always resize *up* after a connection iff the log buffer is smaller than
the current default value for the buffer.
Add convenience functions to obtain drains by type