Breaks up 'listen' method to put accept in while loop (to handle multiple requests)