Fixed up bad content-length header and everything is working