Detecting & logging.info of IPv4 and IPv6 address of the system

Hi SP,

As discussed on the mail. Typical output in SAB logging:

2014-01-20 21:20:49,630::INFO::[SABnzbd:1272] IP address = 192.168.0.105
2014-01-20 21:20:49,650::INFO::[SABnzbd:1281] IPv6 address = 2001:aaaa:bbbb::c7f:4ba2