Added option to pass headers into client

Signed-off-by: Stephan Hagemann <stephan@pivotallabs.com>