Added support for listening and redirect ports in case they are not the same (when proxied)