Make HTTP connection constructor public