modified server and Connection to support getContent(beginID, endID)