Afridi to play for Hampshire club