Example of websocket server using python tornado library