tested with tornado, aiohttp websocket-servers

for gevent-websocket servers, pls, use _websocket test-example

original: https://www.includehelp.com/python/how-to-implement-a-websocket-server-using-tornado.aspx