Added a binding to getifaddrs and a test for it