Add ByteString.of variant which copies a subset of data.

@swankjesse @danrice-square