Refactoring add some ivars.
Bug fixed, remove 'transfer-encoding'.

To avoid chunked responses.