Issue 1068 socket getifaddrs

Initial implementation of Socket.getifaddrs [2.1]. 

There are a couple of methods that was not implemented (`flags` and `dstaddr`).
#1068