Added ability to define port of generated proxy