Make open:server respect hostname

Close #241