Fixed COOK-3892

Setting the static TCP port is now done via the Chef 11 registry_key resource. This fixed Chef 11 deprecation warnings.