For anyone using @storageanarchy 's modified edition to get the ‘take’ image (I am), it doesn’t work any longer on ST. The reason is this line:
headers.put("HOST", "$host:$CameraPort")
This must now be:
headers.put("HOST", "$hosthex:$porthex")
If you make that change it will work again.
EDIT (update): this stopped working again. I had to do more changes, see HubAction parse no longer being called?