added $httpOptions [Closes #15]