LB-1622: Added headers.

OPTIONS request needs content-type and accept headers
Merge pull request #141 from nistormihai/master

LB-1622: Added headers.