Instead of extending from the WS operator, make it contained (just like the console output). That also takes care of optional port issue above.