webwx: switched to c so pidgin is able to use it too