Update i_tcp.c to support hosts with IPv6 disabled
Check for ENODEV for hosts with IPv6 disabled while running in IPv6 mode
Add checks for return code for ioctl(), setsockopt(), getsockopt() and getsockname() Also show errno and strerror for failed calls