A reform of contempt of court legislation for online publishers has been recommended by the Law Commission