Add Connection::initialize() calls to prevent usage of null objects
Merge pull request #140