Fixed compilation on Windows.
fix info struct api docs for iface vs interface

Signed-off-by: Andy Green <andy.green@linaro.org>
eliminate snprintf

The two cases where I introduced snprintf are either already
safe for buffer overflow or can be made so with one extra
statement, allowing sprintf.

Signed-off-by: Andy Green <andy.green@linaro.org>
update test echo for iface info member namechange

Signed-off-by: Andy Green <andy.green@linaro.org>
api remove hangup_on_client

Signed-off-by: Andy Green <andy.green@linaro.org>
api make close api private only

Signed-off-by: Andy Green <andy.green@linaro.org>