added a new api function that will allow developer to get hold of underlying kws_websocket object pointer