make  accept an IpAddr, fixes #26
update README examples