fix #6 host name resolving (using Rio code)
fix unix start scipt