Real-time phase-reference monitoring in a quasi-optimal coherent-state receiver