Cohesive acceleration and focusing of relativistic electrons in overdense plasma