Add socket callbacks to TTI client socket opts

These opts are valid for the socket_opts.
Handle auth errors from pre-auth

Some servers sometimes send 1017 during pre-auth, although sometimes
they wait to send it until the auth step.
Capitalize the TNS in TNSException

For consistency
Verify we got enough data in packet read
Remove close-socket callback

The better way to handle this is for the alternate socket to just
implement #close.
Merge branch 'master' into cleanup
Merge pull request #8 from woodbusy/cleanup_fixed

Minor cleanup