Add support for multiple flags to be set simultaneously on connect.

Multiple flags can be set simultaneously on a connect. I have extended the command-line app to support this.