Support for returning a list of messages from a plugin, reconnect on IOError (hopefully)