Refactored smells out of no_brainer/connection.rb

Smells reported by reek:

Before:

 1: NoBrainer::Connection has no descriptive comment
    (IrresponsibleModule)
32: NoBrainer::Connection#parse_uri has approx 6 statements
    (TooManyStatements)

After:

 1: NoBrainer::Connection has no descriptive comment
    (IrresponsibleModule)

Notes:

Extracted out a private method to set the connection settings based on
a parsed URI.