Make open:server respect hostname

Make open:server respect hostname

PR for #241