Adding optional hdfs and request options to "open" method

The additional parameters allow to set {"encoding":null} as option to request. As a result the returned body is a Buffer instead of a String. This makes it possible to work with binary data.