Pass options to connection