1. Fixed issue #155 (index iinterface removed. dirrect hashing is used instead)
2. `hostname' is executed once and put in global param['local_server_name']
3. Refactor few log messages
4.