Removed auth, select and timeout handling.
renamed Conn to Client and did some cleanup.