Revert "Update WebsocketTransport.java"

This reverts commit 52c957574aa3cbdc8a46d81af17c2201841f3632.