handle extensions
implement v6 of the protocol
