Problem with driver.getPageSource() an a page with stream video active [Appium 1.6.3, iOS 10]

I have played a video on a tablet and wanted to call the method driver.getPageSource(), and got the following message:

An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT (Selenium::WebDriver::Error::UnknownError)

Is there a way to fix the problem ?

Thank you advance,

@antoios this seems to be a bug, please file in appium project on github with all necessary details