A code of good practice aimed at websites that resell tickets is to be drawn up following "continuing uncertainties" about the secondary market.