[ticket/12755] Add timeout to remote upload to prevent infinite loop

PHPBB3-12755
[ticket/12755] Add language string for timed out remote upload

PHPBB3-12755
[ticket/12755] Change upload in remote_upload() method to fit get_remote_file

PHPBB3-12755
[ticket/12755] Terminate upload loop if upload reaches filesize

Terminate the upload loop if the expected filesize has been reached instead
of trying to read more bytes until the timeout has been reached.

PHPBB3-12755
[ticket/12755] Apply de morgan to conditional

PHPBB3-12755
Merge pull request #2633 from marc1706/ticket/12755

[ticket/12755] Add timeout to remote upload to prevent infinite loop

* marc1706/ticket/12755:
  [ticket/12755] Apply de morgan to conditional
  [ticket/12755] Terminate upload loop if upload reaches filesize
  [ticket/12755] Change upload in remote_upload() method to fit get_remote_file
  [ticket/12755] Add language string for timed out remote upload
  [ticket/12755] Add timeout to remote upload to prevent infinite loop