change websocket message type from String to Map.Entry<String, String>

Change-Id: If45ca9011d7e5e737c83811015847a3114d88156