Added parameter to startListening so the servers connection info could b...

...e returned to main.