Ratcheting socket wrench