fix XmlAttribute regressions #237
stabilize websocket imports
Upgrade to 4173-5.

https://twistedmatrix.com/trac/ticket/4173
adjust to api changes in ws patch 4173-5.