add public server mode
Merge pull request #183 from digital-dreamer/public-server

Public server mode