connection settings
Framer expects setting param in an array of key-value pairs.  Connection#settings can receive Hash.

To avoid infinite loop in tests, change state before emitting connection_header and settings.