util: add split_pair() for splitting foo=bar strings