Either http or pb port should be set.
Merge pull request #15 from istvan-soos/master

Either http or pb port should be set.