REGRESSION (STP): WebSocket.bufferedAmount does not get updated in some cases