This allows users that don't want to create their own NATS connection
to configured as desired, to pass the NATS options they would use
to create the NATS connection.
With that, the streaming connection will create and own the NATS
connection but will be configured based on the provided NATS options,
except for some options that are overridden by the library.
Coverage decreased (-0.2%) to 93.112% when pulling a53d804cffe1c79dd13ee4e1559e3e23ec2d898e on add_nats_opts into 1f563ca8c1b443f2cbe994ec83431a5bad430577 on master.
This allows users that don't want to create their own NATS connection to configured as desired, to pass the NATS options they would use to create the NATS connection. With that, the streaming connection will create and own the NATS connection but will be configured based on the provided NATS options, except for some options that are overridden by the library.
Resolve #354
Signed-off-by: Ivan Kozlovic ivan@synadia.com