Implement HTTP connection