fixed local only httplistener to respect local only