Fixed improper buffer handling with keep-alive, tests also fixed
No default keep-alive option in response