libmb.hpp: abstract out one_time_bind()

one_time_bind() is a nice primitive so we abstract it out
of libmn::thread.