Some problems in WebSocket and XML

The majority of problems with WebSocket Session and some with XML were
repaired.
Some classes were added

The test and web server classes were added