Add comments and documentation to the WebSocket Extensions
implementation.
Fix licence headers.
Add WebSocket Extension documentation and unit tests.