Add getsockname(2) wrapper
Merge pull request #15 from ayosec/getsockname-function

Add getsockname(2) wrapper