Fix timeout error logging
Send content-length 0 for various methods