Add range request. Fixes #456