Added some convenience functions for dealing with multi-line responses.
Nicer handling of capabilities and version commands.