Added get_client_charset and get_decoder_for_client_charset and refactored get_client_charset_decoder from them. Also fixed wrong decoder in the case of "mac" encoding followed by "html". Rev: server/etc/modules/Roxen.pmod:1.231