Added feature discovery as per RFC 2389.