now header value with spaces can be read
request to buffer conversion added
add response structure and little error handling(not perfect)
test code in proxy