netutils/websocket: fixes minor issues in websocket
netutils/websocket: fixes minor issues in websocket

This commit fixes minor issues in websocket library.
 . clearify socket close routine
 . clearify the context compare

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

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