Fix buffer overflow on close() in mac osx. Extended buffer to fit address string and used strncpy to be safe.
Merge pull request #26 from programmarchy/address-overflow

Fix buffer overflow on close() in mac osx.