Remove debugval output, fix copyright.
Add to_ip_with_config helper function.