workaround to make SourceDocument downloads work with Vaadin7 and nginx proxy