Add support for the Draft E1.31 discovery protocol.

Done