[PATCH 2/9] port_fwd: Move automatic port forwarding code to port_fwd.[ch]