Added basic connection startup handling

Getting options, starting up, authentication