Fixes exports.Connection in nodejs lib.

exports.Connection is a function of two arguments: stream and options. Options is an optional argument, but the function fails if it is omitted.