Changed the server in such a way that all endpoints are serviced by a single io_service.