server now listens for and dispatches connections