Add gitignore.
Remove trailing whitespace.
Fail for unhandled cases.
Fix warnings.
Handle different address types from server.
Accept Domain/Ipv4/Ipv6 destinations.
Extract io_err to util module.
Reexport for convenience
Add basic tests
Merge pull request #2 from Ryman/master

Fix unhandled cases for Socks5