[webapi] Fix the xml issue of rawsockets
Fix the case issue of BufferedAmount