make clang happy when compiling w/ cpp
add _lws_logv to make loging accessible to other wrappers. use _lws_logv in _lws_log
add user context pointer to the protocol structure