Function to create a connection
Merge branch 'issue_14' of github.com:stealthycoin/TMAndorid into issue_14