Boundary value problems for Yang-Mills connections