Optionally read message from STDIN