Created an AbstractStreamReader

To consolidate with Base64 reader