important enhancement: use different io_service to serve for local browser and remote server separately, to avoid the slow response to local browser