Rework proxy postResponse. Closes #1247