client/server: handle ranges: x..y