set content-length on spdy post

starting with a test case that reproduces issue #364.