Properly formatted InputStream from raw data