Fix client response status/header buffer issues