Add open port method
Enable flow-client to handle secured api calls
merged