What does is_client actually mean?  I think we need some Doxygen comments for this method (and probably the others in this file).