"maximum recursion depth exceeded while calling a Python object"

When using the WebSocketProtocol17 with a lot of burst traffic, more data incoming that the application can handle at this point in time. The current implementation runs into a "maximum recursion depth exceeded while calling a Python object" error in the rawDataReceived method. 

Exchanging the recursion with a while loop, solves the problem, at least for us.