Added option to quit

Entering q would quit the listener client.