Localip detect

As discussed in #4, here we have an implementation that does open the remote on the local network IP.

Suggestions and critics appreciated :)