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

Ticket: https://tracker.phpbb.com/browse/PHPBB3-13358
Can you make a get afterwards so we dont have to use references?
Or jsut throw exceptions directly catch them in the old function