examples/websocket: fixes buffer overflow
examples/websocket: fixes buffer overflow

This commit fixes websocket client buffer overflow problem.
When user set the buffer size to 16, sprint() in websocket client
application will copy the test data more than 16 and it can make
buffer overflow.

Change-Id: Idd3084354be2a67f8d3ac092edf4258c198c94d9
Signed-off-by: Junyeon LEE <ddc45265127aa1feb4b01be10ec1f0d25d062d3d@samsung.com>

kimusan/TizenRT,btheosam/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,JeongJunSik/TizenRT,shivgarg/TizenRT,jeongchanKim/TizenRT,yashwanth686007/TizenRTOS,manoharahk/TizenRT,heejin-kim/TizenRT,HONGCHAEHEE/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,dr-venkman/TizenRT,btheosam/TizenRT,Parkjihooni6186/TizenRT,shivgarg/TizenRT,an4967/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,dr-venkman/TizenRT,chanijjani/TizenRT,JeonginKim/TizenRT,chanijjani/TizenRT,jsdosa/TizenRT,jsdosa/TizenRT,manoharahk/TizenRT,davidfather/TizenRT,HONGCHAEHEE/TizenRT,pillip8282/TizenRT,davidfather/TizenRT,EunBongSong/TizenRT,jeongchanKim/TizenRT,Parkjihooni6186/TizenRT,EunBongSong/TizenRT,lokeshbv/TizenRT,EunBongSong/TizenRT,lokeshbv/TizenRT,btheosam/TizenRT,JeonginKim/TizenRT,sangwon03/TizenRT,junmin-kim/TizenRT,yashwanth686007/TizenRTOS,yashwanth686007/TizenRTOS,junmin-kim/TizenRT,btheosam/TizenRT,yashwanth686007/TizenRTOS,heejin-kim/TizenRT,heejin-kim/TizenRT,sunghan-chang/TizenRT,dr-venkman/TizenRT,Parkjihooni6186/TizenRT,jeongchanKim/TizenRT,davidfather/TizenRT,lokeshbv/TizenRT,yashwanth686007/TizenRTOS,btheosam/TizenRT,davidfather/TizenRT,Samsung/TizenRT,Parkjihooni6186/TizenRT,JeongJunSik/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,manoharahk/TizenRT,heejin-kim/TizenRT,an4967/TizenRT,sangwon03/TizenRT,JeongJunSik/TizenRT,yashwanth686007/TizenRTOS,chanijjani/TizenRT,kimusan/TizenRT,dr-venkman/TizenRT,sangwon03/TizenRT,JeonginKim/TizenRT,heejin-kim/TizenRT,shivgarg/TizenRT,Parkjihooni6186/TizenRT,sangwon03/TizenRT,Samsung/TizenRT,btheosam/TizenRT,an4967/TizenRT,chanijjani/TizenRT,an4967/TizenRT,JeonginKim/TizenRT,jsdosa/TizenRT,manoharahk/TizenRT,sangwon03/TizenRT,pillip8282/TizenRT,sangwon03/TizenRT,shivgarg/TizenRT,jsdosa/TizenRT,JeongJunSik/TizenRT,jsdosa/TizenRT,EunBongSong/TizenRT,kimusan/TizenRT,sunghan-chang/TizenRT,shivgarg/TizenRT,HONGCHAEHEE/TizenRT,dr-venkman/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,HONGCHAEHEE/TizenRT,JeongJunSik/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,lokeshbv/TizenRT,jeongarmy/TizenRT,shivgarg/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,lokeshbv/TizenRT,davidfather/TizenRT,kimusan/TizenRT,jeongchanKim/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,EunBongSong/TizenRT,davidfather/TizenRT,chanijjani/TizenRT,manoharahk/TizenRT,pillip8282/TizenRT,junmin-kim/TizenRT,davidfather/TizenRT,HONGCHAEHEE/TizenRT,kimusan/TizenRT,Parkjihooni6186/TizenRT,Samsung/TizenRT,EunBongSong/TizenRT,kimusan/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,junmin-kim/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,junmin-kim/TizenRT,JeonginKim/TizenRT,Samsung/TizenRT,JeongJunSik/TizenRT,lokeshbv/TizenRT,chanijjani/TizenRT,heejin-kim/TizenRT,manoharahk/TizenRT,dr-venkman/TizenRT