implemented accept connection request on server