updated bufferclient and bufferserver code to do measurement, and
added an option for bufferclient to use a user-specified IP address.