Adding IPv6 Support.

Updated following files to added IPv6 connections support.