- add error exception handling for errno
- implemented getsockname
- cleanup/testing