added ability to pass in options to connect

Signed-off-by: Sean Wesenberg <wookets@gmail.com>