add getifaddr to socket module
add test
Merge pull request #13 from umegaya/umegaya/feature/ifaddr

add getifaddr to socket module lgtm