read response header at client side

Signed-off-by: Thomas Schubert <funthomas424242@gmail.com>