Add helper method to connect using ~/.rtrc

A common connection scheme is probably to read the server, username, and/or
password out of the ~/.rtrc file. Facilitate this process so that API clients
don't need to implement the file-reading themselves.