add examples
add XML stream test functions
test localhost discovery scenario
enforce consistent casing