added content type and length to response
all tests working
added check for poison null byte