fixes to make compiler happy. the ServerWebSocket has to be rewrite
Fix more compile api breaks
Merge Some classes from edgarchan pull request, thank you edgar