Subprotocol and encoding selection.