Address review comments.

Refs: #6245.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@36865 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Also flush the warning issued (indirectly) by the other test.

Refs: #6245.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@36866 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Also deprecate unicode of twisted.names.dns.Name.

Refs: #6245.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@37042 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Use idna encoding, remove failing test


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@37398 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Fix @type


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@37399 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Support both type in the constructor, fix tests


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@37400 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Fix docstring and NEWS fragment


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/srvconnect-warn-unicode-6245@37401 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb