[ticket/13358] Add class for retrieving remote file data

Ticket: https://tracker.phpbb.com/browse/PHPBB3-13358
I'd rather not handle return data with exceptions