Fix Capsule connection test missing headers bug