Move flags to module level and fix up HandshakeResponse320
Support CLIENT_CONNECT_ATTRS