support for strings,lists,generalCommands and error checking in
connection & replyObject.