Bug fix on headerless requests not working, and keep-alive headers not being sent