Updated io_service

Updated deprecated function io_service to get_io_service