[#1579] Fix resource leakage in WebSocketUtil.base64(...)