Invia SMS: Elastic and plastic resistance of restrained beams in bending