Fix for NPE and varargs params

 - a null input stream was causing NPEs in error cases
 - restored vararg params, headers and options
Updated docs for 1.0.1
version bump 1.0.1