Add module to contain helper methods
Extract connection into helper method. Let all commands provide ssl configuration