io_service: basic implementation supporting poll/run/post