added --headers to support send/printing message headers