add option parsing.
change so that if host / port is supplied as arguments, add a session on startup.