allow port to be specified when activating web mode
Merge pull request #7 from ceharris/webApplicationMode

allow port to be specified when activating web mode