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

Ticket: https://tracker.phpbb.com/browse/PHPBB3-13358
same here