Added `ip` as a dependency, added `require('ip')` to server

Fixed #15.