FIX: unwanted assert in httpReadBlock