Add IP resolution to STDAPI

Adds IP resolution to STDAPI.

Meterpreter side of: https://github.com/rapid7/metasploit-framework/pull/1734

Removed nix support.