Change localhost message prefix to constant