new API function libwebsocket_wsi_user

which returns the optional user allocation that is attached to the wsi
useful to get wsi's user_space from outside of libwsockets callback functions