Added ability to configure ports, sharing folder and TTL