check if connection header existed