Move transport settings to connection instead of hardcoded