Nacl fixes refactor

Refactored NativeClient and added functionality:
* `--logfile` parameter on the command line allows to change output logging file
* graceful handling of connection errors (log message, does not crash)
* added ActionDelayMs to configure how much will client load the server (delay between movement and rotation)
* and a few bug fixes