Tangential loading of general three-dimensional contacts