Added a Host: header to see if it fixes the 400 error.