Docblock fixes
Cancel timeout watcher on successful connect
Fix reference to non-existent legacy class name
Add type to docblock
Uri fixes

 - Remove redundant $components property
 - Replace references to undefined property $authority with getAuthority calls
 - Remove unused local variables
Remove duplicate gethostbyname() call
Remove unused vars
Update Alert timeouts to milliseconds