Results 3 issues of llccd

also change newline to '\n' and remove 'g' in sed replace

Implements #22. Not widely tested. I did not find any stun server that supports getting NAT type on IPv6.