Modifications to bbjoin test program

Added option to retry joining sessions even if the previous attempt failed.
Added command line to change the session port

Change-Id: I83a18e85ce09d887dc14e9967a32679dc10a68bc